import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/home-view/home.vue'
import Activity from '../views/activity-view/activity.vue'
import Life from '../views/life-view/life.vue'
import Detail from '../views/detail.vue'
import Discount from '../views/discount-view/discount.vue'
import Search from '../views/search-view/search.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/activity',
      name: 'activity',
      component: Activity
    },
    {
      path: '/life',
      name: 'life',
      component: Life
    },
    {
      path: '/detail',
      name: 'detail',
      component: Detail
    },
    {
      path: '/discount',
      name: 'discount',
      component: Discount
    },
    {
      path: '/search',
      name: 'search',
      component: Search
    }
  ]
})
